#pragma once

#include "ntservice.h"
#include "Application/AppConfig.h"
#include "Application/BufferWapper.h"
#include "MyService.h"
#include "GroupDataSynTask.h"

class CMyServiceImpl : public CNTService
{
public:
	CMyServiceImpl();
	virtual ~CMyServiceImpl();
	virtual BOOL OnInit();
	virtual void OnStop();
	virtual void Run();
	virtual BOOL OnUserControl(DWORD dwOpcode);
private:

	CRITICAL_SECTION m_tCriticalSection;

	CMyService m_MyService;
	CGroupDataSynTask*  m_task;
	
};
